<template>
	<view>
		<u-navbar title="个人信息" bgColor="#3083FB" titleStyle="color:#fff" left-icon-color="#fff" :autoBack="true"
			placeholder>
		</u-navbar>
		<view class="bg"></view>
		<view class="main">
			<u-cell-group :border="false" :customStyle="{backgroundColor:'#fff',borderRadius: '18rpx'}">
				<u-cell class="cusCell" title="头像" :border="false" isLink url="/pages/My/UserInfo/ChangeAvatar?type=1">
					<view class="pic" slot="value">
						<image src="http://www.img.ttblog.cn/car/user-icon.jpg" mode="aspectFill"></image>
					</view>
				</u-cell>
				<u-cell title="姓名">
					<view slot="value">
						<u--input border="none" inputAlign="right" placeholder="请输入内容" v-model="uname"></u--input>
					</view>
				</u-cell>
				<u-cell title="手机号" value="18766663333" isLink url="/pages/My/UserInfo/ChangeAvatar?type=0"></u-cell>
			</u-cell-group>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				uname: '小李子',
			};
		}
	}
</script>

<style lang="scss">
	.bg {
		background-color: #3083FB;
		height: 200rpx;
		margin-top: -2px;
	}

	.main {
		padding: 20rpx;
		padding-top: 30rpx;
		transform: translateY(-190rpx);

		.cusCell {
			height: 150rpx !important;
			justify-content: center;
			border-radius: 18rpx;
			background-color: #fff;
			margin-bottom: 20rpx;
		}
	}

	.pic {
		width: 100rpx;
		height: 100rpx;
		border-radius: 50%;
		overflow: hidden;

		image {
			width: 100%;
			height: 100%;
		}
	}
</style>